function frequency(stage, enabled, height) {
	var items = [{
		defaults: { anchor: '97%', disabled: !enabled },
		items: [
			new Ext.form.TextField({  fieldLabel: '标题' }),
			new Ext.form.HtmlEditor({ fieldLabel: '正文', disabled: !enabled }),
			new Ext.form.Field({ fieldLabel: '附件', inputType: 'file' })
		],
		labelWidth: 40,
		title: '申请报告'
	}];
	
	if(stage == 4) {
		items.push({
			items: [
				new Ext.form.TextField({ anchor: '97%', disabled: !enabled, fieldLabel: '意见' }), {
					baseCls: 'x-plain',
					defaults: { baseCls: 'x-plain', columnWidth: 0.5, defaultType: 'textfield', layout: 'form' },
					items: [{
						items: new Ext.form.TextField({ anchor: '96%', disabled: !enabled, fieldLabel: '人员' })
					}, {
						items: new Ext.form.TextField({ anchor: '94%', disabled: !enabled, fieldLabel: '时间' })
					}],
					layout: 'column'
				}
			],
			labelWidth: 40,
			title: '初审信息'
		});
		
		items.push({
			items: [
				new Ext.form.TextField({ anchor: '97%', disabled: !enabled, fieldLabel: '意见' }),
				new Ext.form.TextField({ anchor: '97%', disabled: !enabled, fieldLabel: '结果' }), {
					baseCls: 'x-plain',
					defaults: { baseCls: 'x-plain', columnWidth: 0.5, defaultType: 'textfield', layout: 'form' },
					items: [{
						items: new Ext.form.TextField({ anchor: '96%', disabled: !enabled, fieldLabel: '人员' })
					}, {
						items: new Ext.form.TextField({ anchor: '94%', disabled: !enabled, fieldLabel: '时间' })
					}],
					layout: 'column'
				}
			],
			labelWidth: 40,
			title: '审批分配'
		});
		
		items.push({
			items: [
				new Ext.form.TextField({ anchor: '97%', disabled: !enabled, fieldLabel: '意见' }), {
					baseCls: 'x-plain',
					defaults: { baseCls: 'x-plain', defaultType: 'textfield', layout: 'form' },
					items: [{
						columnWidth: 0.4,
						items: new Ext.form.TextField({ anchor: '97%', disabled: !enabled, fieldLabel: '人员' })
					}, {
						columnWidth: 0.3,
						items: new Ext.form.TextField({ anchor: '97%', disabled: !enabled, fieldLabel: '时间' })
					}, {
						columnWidth: 0.3,
						items: new Ext.form.TextField({ anchor: '90%', disabled: !enabled, fieldLabel: '结论' })
					}],
					layout: 'column'
				}
			],
			labelWidth: 40,
			title: '处室意见'
		});
		
		items.push({
			items: [{
					baseCls: 'x-plain',
					defaults: { baseCls: 'x-plain', defaultType: 'textfield', layout: 'form' },
					items: [{
						columnWidth: 0.7,
						items: new Ext.form.TextField({ anchor: '97%', fieldLabel: '意见' })
					}, {
						columnWidth: 0.3,
						items: new Ext.form.TextField({ anchor: '90%', fieldLabel: '结论' })
					}],
					layout: 'column'
			}],
			labelWidth: 40,
			title: '厅领导意见'
		});
	}
	
	new Ext.Window({
		bbar: [ '->', { text: '保存' }, '-', { text: '提交' } ],
		height: height,
		items: new Ext.form.FormPanel({
			defaults: { autoHeight: true },
			defaultType: 'fieldset',
			items: items,
			labelAlign: 'right',
			url: 'users/'
		}),
		title: '无线频率指配审批',
		width: 680
	}).show();
}
